Changed output format. Now writes one csv for each file type.