better err msg when input file not found