public void createEnemies(String mapName){
        String thisLine;
        Path mapPath = Paths.get(MAP_FOLDER, (mapName + TXT_FILE_END));
        File inFile = mapPath.toFile();
        // open input stream test.txt for reading purpose.

        List<String> mapLines = new ArrayList<String>();
	try {
	    BufferedReader bufferedReader = new BufferedReader(new FileReader(inFile));
	    try {
		thisLine = bufferedReader.readLine();
		while (thisLine != null) {
		    mapLines.add(thisLine);
		    thisLine = bufferedReader.readLine();
		}

	    }finally {
		bufferedReader.close();
	    }
	}catch (IOException e){
		e.printStackTrace();
	    }

        int enemyXCoord = ENEMIES_STARTING_X_COORD;

        for (int n =0; n < mapLines.size(); n++) {
            thisLine = mapLines.get(n);
            for (int row = 0; row < thisLine.length(); row++) {
                char brick = thisLine.charAt(row);
                if (brick == SQUARE) {
                    theModel.addObstacle(new Obstacle(enemyXCoord, (theModel.getHeightOffset() - (row+1)*BRICK_SIZE),new SquareShape(),ObstacleTypes.SQUARE)); //(row+1) To get the Obstacle above the floor
                } else if (brick == OVAL) {
                    theModel.addObstacle((new Obstacle(enemyXCoord, (theModel.getHeightOffset() - (row+1)*BRICK_SIZE),new OvalShape(),ObstacleTypes.OVAL)));
                } else if (brick == TRIANGLE) {
                    theModel.addObstacle((new Obstacle(enemyXCoord, (theModel.getHeightOffset() - (row+1)*BRICK_SIZE),new TriangleShape(),ObstacleTypes.TRIANGLE)));
                }
            }
            enemyXCoord += BRICK_SIZE;
        }
    }