exit if no input file provided