#51 refactoring ReadFile: far from perfect but done