Added invalid input file processing handler