pub fn parse_element_from_file( file: &mut File, tag_name: &str, attributes: &Option<Vec<Attribute>> ) -> Result<Document>