public  void parseInput(String fileName)
    {
        InputStream is = null;
        BufferedReader br = null;
        try {         
            is = Thread.currentThread().getContextClassLoader().getResourceAsStream("input.txt");
            br = new BufferedReader(new InputStreamReader(is));
            String line = null;
            int lineNumber = 0;
            while ((line = br.readLine()) != null) {
                parseLine(line,++lineNumber);
            }
            
            
        } catch (FileNotFoundException e) {
            
            e.printStackTrace();
        } catch (IOException e) {
            
            e.printStackTrace();
        }finally 
        {
            if(is!=null) try {
                is.close();
            } catch (IOException e) {
                
                e.printStackTrace();
            }
            if(br!=null)
            {
                try {
                    br.close();
                } catch (IOException e) {
                   
                    e.printStackTrace();
                }
            }
            
        }
        
               
    }