def METHOD_NAME(connection):
    """Convert the XMl files to Database
    """
    jobs_metadata_path = os.path.join(getLocalRoot(), '6.0', 'jobs.metadata')
    # adding the metadata objects
    for _dir in os.listdir(os.path.join(jobs_metadata_path, "0xxx")):
        _dir = os.path.join(jobs_metadata_path, "0xxx", _dir)
        if os.path.isdir(_dir):
            data, er = from_file(open(os.path.join(_dir, "data"), "rb"))
            object_to_database(j=data, document=connection["jobs.metadata"],
                               master=-1, ignore_subs=[])