Removed protected from class functions and added the s to file_get_contents.