FileProcessor and unit tests