Implement FileProcessor tests
Make FileProcessor::processFile private

Because it is not intended to be used from the outside world.
Fix building problems on all targets