private void loadLevel(String fileName)
  {	
    enemies = new ArrayList<AICharacter>();
    bonuses = new ArrayList<AICharacter>();
    goals = new ArrayList(); 
    java.io.BufferedReader reader;
    String line = new String();
    String[] elements;
    try
    {
      reader = new java.io.BufferedReader(new java.io.FileReader(fileName));
      //Keep looping through the level file until we reach the end
              //Read the new line
      while((line = reader.readLine())!=null)
      {
        //Split that line into its elements
       elements = line.split(":");
       //Check to see if we're dealing with an enemy
        if (elements[0].equals("enemy"))
        {
            AICharacter enemy = null;
          //Create the new enemy with the specified properties
         if (elements[1].equals("turtle"))
         {
                enemy = AICharacter.createTurtle(spriteLoader,elements[1],Integer.parseInt(elements[2]),Integer.parseInt(elements[3]),Integer.parseInt(elements[4]));    
         }else if (elements[1].equals("flower_monster"))
         {
                enemy = AICharacter.createFlowerMonster(spriteLoader,elements[1],Integer.parseInt(elements[2]),Integer.parseInt(elements[3]),Integer.parseInt(elements[4]));
         }else if(elements[1].equals("goomba"))
         {  
             enemy = AICharacter.createGoomba(spriteLoader,elements[1],Integer.parseInt(elements[2]),Integer.parseInt(elements[3]),Integer.parseInt(elements[4]));
         }
         else {
                System.err.println("Unknown type of Character");
            }
            //Add the enemy to the list of enemies
         if(enemy!=null) {
                enemies.add(enemy);
            }
        }
        //Check to see if we're dealing with a goal
        else if (elements[0].equals("goal"))
        {
          goals.add(new Goal(Integer.parseInt(elements[1]), elements[2]));
        }
      }
      //Done reading the file, so close it
      reader.close();
   }catch(Exception e)
    {
       System.err.println("There was an error with the _level file");
    }
  }