def agent_directory_path(instance, filename):
    now = datetime.datetime.now()
    path = 'agents/{agentname}/{filename}'.format(agentname=instance.agency, filename=set_filename_format(now, instance, filename))
    return path
def agent_directory_path(instance, filename):
    now = datetime.datetime.now()
    path = 'agents/{agentname}/{filename}'.format(agentname=instance.agency, filename=set_filename_format(now, instance, filename))
    return path