Replace file_get_contents with WP_filesystem