<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_collection_from_file(resource, filename, content_type=None):
 """ Creates a new collection for the registered resource and calls `load_into_collection_from_file` with it. """

    coll = create_staging_collection(resource)
    load_into_collection_from_file(coll, filename,
                                   content_type=content_type)
    return coll