Modifying input file path to fit the sample directory structure