changed file loader to fit yaml.php file extensions