emit a specific error when the input file is empty. This fixes