Changed FileProcessorFactory to a singleton