Split file reading and json parsing
Make tests
Docs