processes all files in folder and generates output CSV