FileProcessor class modified