def setConfigTitleAndFilename(config, username, statusWord):
    """Sets the configuration objects title and filename to use username and
    status.
    """
    config.setTitle('{}\'s {}'.format(username, statusWord))
    config.setFilename('{}_{}.jpg'.format(username, statusWord))
    return config