Exit with error if no input file was specified or file was not found