Adds code for code coverage and improves files read
Implement tree