added a test for processing of empty files
refactoring: removed wrong comment