import json
import random


def get_random_user(in_file):
    """ Open up user input json and grab a random user from the specified users """

    with open(in_file) as data_file:
        data = json.load(data_file)

    users = data["dm_users"]

    return random.choice(users)