def METHOD_NAME(filepath, files):
    for found_file in files:
        if os.path.splitext(os.path.basename(found_file))[1] == '.rar':
            return os.path.basename(os.path.splitext(os.path.basename(found_file))[0].lower())