def METHOD_NAME(args, loop: asyncio.AbstractEventLoop) -> Storage:
    """Get storage module based on user configuration."""
    if args.storage == "file":
        return FileStorage(args.storage_filename, loop)
    return MemoryStorage()