Basic error checking on file_get_contents