updated documentation for readAFile and createNewPage functions