Replaced file_get_contents() with WP file system API.