Fix paths to input files.