Fixed bug in the new file argument feature