Fixing getting of input file.