fix bug introduced by input_file flag
Merge pull request #321 from uwescience/bmyerz/input-file-naming

fix bug introduced by input_file flag