Changed head.php to use WP_File