Processor.py handles multiple times based on file type