import pickle


async def load_users():
    """
    Loads users from 'users.pickle' file

    :return: dictionary {id:User}
    """
    with open("users.pickle", "rb") as file:
        users_info_loaded = pickle.load(file)
    print("Users loaded")
    return users_info_loaded