public void parseFile() {
        menu = new HashSet<MenuItem>();
        SAXParserFactory s = SAXParserFactory.newInstance();
        try {
            SAXParser parser = s.newSAXParser();
            handler handler = new handler();
            File menuF = new File(FilenameXML.Menu.toString());
            if(menuF.exists()){
                parser.parse(FilenameXML.Customers.toString(), handler);
            }
            else{
                menuF.createNewFile();
                MenuItemWriter miW = new MenuItemWriter();
                miW.printToFile(new HashSet<MenuItem>());
            }
            parser.parse(FilenameXML.Menu.toString(), handler);
        } catch (ParserConfigurationException e) {
            e.printStackTrace();
        } catch (SAXException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }