private void mapGarage(String file)
    {
        //read text file
        String line = "";
        //traverses the whole file line by line
        try
        {
            BufferedReader reader = new BufferedReader(new FileReader(file));
            while((line = reader.readLine()) != null)
                fileLines.add(line);
            reader.close();
        }
                
        //handles any exception caused by reading the file
        catch(IOException e)
        {
            System.out.println("There was an error while reading the file");
        }
        processFile(fileLines);
        
    }