fixed input/outfile filepaths