1. A system for testing an electronic file analysis and re-generation module, the system comprising: means for receiving an electronic file when a cleaning flag is set to enabled; an analysis and re-generation module for processing the received electronic file to create a re-generated electronic file by removing nonconforming portions of the file and portions that have unknown functionality; wherein the system is arranged to process the re-generated electronic file using the analysis and re-generation module when the cleaning flag is set to disabled; and wherein the analysis and re-generation module is determined to be functioning correctly if processing of the re-generated electronic file using the analysis and re-generation module creates a further re-generated electronic file; and the analysis and re-generation module is determined to be functioning incorrectly if processing of the re-generated electronic file using the analysis and re-generation module does not create a further re-generated electronic file.