Changed way path to input file is specified