file to resource loading, manifest hack