def read_and_pre_process_xml(file_name):
    """
    Read XML file with the name specified in the argument and pre process the xml so that it can be parsed.

    Pre Processing removes line retune characters (i.e. "\n").

    Arguments:
        file_name (str): Name of the XML file.

    Returns:
         (str): Pre Processed contents of the file.
    """
    with open(file_name, 'r') as xml_file:
        return xml_file.read().replace('\n', '')