Refactoring

* Changed some var names to make them more self-documenting
* Created a method to compare file content
* Simplify cleanup code in PageFile test