Fix absolute path to input file