Gives error message if input file is not specified.