show an error msg if no input file