A fun little task with validation of a file in tdd