file_to_xml_node function

Read in a file and parse it into an object of type XMLNode.