switched the filenames to variables in part1