import jinja2


def create_module_readme(policy):
    """ Return README.md file for sub-module """

    with open('README.md.j2', 'r') as j2template:
        template_file = ''.join(j2template.readlines())

    template = jinja2.Template(template_file)
    return template.render(
        module_name=policy['PolicyName']
    )