def METHOD_NAME(self):
    app_dirs = get_app_dirs()
    imports = []
    for archive in app_dirs.BACKUP_DIR.glob("*.zip"):
        backup = BackupFile(
            name=archive.name, date=archive.stat().st_mtime, size=pretty_size(archive.stat().st_size)
        )
        imports.append(backup)
    templates = [template.name for template in app_dirs.TEMPLATE_DIR.glob("*.*")]
    imports.sort(key=operator.attrgetter("date"), reverse=True)
    return AllBackups(imports=imports, templates=templates)