only try to process an input file when it exists