Guard against fake input file