def METHOD_NAME(
    cls,
    user_id: UserID,
    file_id: SimcoreS3FileID,
    bucket: S3BucketName,
    location_id: LocationID,
    location_name: LocationName,
    **file_meta_data_kwargs,
):
    parts = file_id.split("/")
    now = datetime.datetime.utcnow()
    fmd_kwargs = {
        "file_uuid": file_id,
        "location_id": location_id,
        "location": location_name,
        "bucket_name": bucket,
        "object_name": file_id,
        "file_name": parts[-1],
        "user_id": user_id,
        "project_id": parse_obj_as(ProjectID, parts[0])
        if is_uuid(parts[0])
        else None,
        "node_id": parse_obj_as(NodeID, parts[1]) if is_uuid(parts[1]) else None,
        "file_id": file_id,
        "created_at": now,
        "last_modified": now,
        "file_size": UNDEFINED_SIZE,
        "entity_tag": None,
        "is_soft_link": False,
        "upload_id": None,
        "upload_expires_at": None,
        "is_directory": False,
    }
    fmd_kwargs.update(**file_meta_data_kwargs)
    return cls.parse_obj(fmd_kwargs)