def METHOD_NAME(
    input_file, output_file, template_file, pot=False, duplicatestyle="msgctxt"
):
    header, units = read_symbian(input_file)
    template_header, template_dict = get_template_dict(template_file)
    output_store = build_output(units, template_header, template_dict)
    if output_store.isempty():
        return 0
    else:
        output_store.serialize(output_file)
        return 1