def write_header(target, softwareversion, osversion, radioversion):
    """
    Write header for file.

    :param target: File to write to.
    :type target: file

    :param softwareversion: Software release version.
    :type softwareversion: str

    :param osversion: OS version.
    :type osversion: str

    :param radioversion: Radio version.
    :type radioversion: str
    """
    target.write('OS VERSION: {0}\n'.format(osversion))
    target.write('RADIO VERSION: {0}\n'.format(radioversion))
    target.write('SOFTWARE RELEASE: {0}\n'.format(softwareversion))
