Added handling for no files to process