Currently gmsfn fails to open an output file if it does not exist, because output files are opened with the mode r.
r
This causes:
Error: Bad output file. Could not open abc for reading