private String readFromFile(String mapName,String position){
		BufferedReader br = null;
		String sCurrentLine="";
		String temp = "";
		 
		try {
 
			br = new BufferedReader(new FileReader(PATH+mapName+".txt"));
			if(position.equalsIgnoreCase("first")){
				sCurrentLine = br.readLine();
			}else if(position.equalsIgnoreCase("last")){
				while ((temp = br.readLine()) != null) 
			    {
					sCurrentLine = temp;
			    }
			}else if(position.equalsIgnoreCase("all")){
				while ((temp = br.readLine()) != null) 
			    {
					sCurrentLine += temp+"\n";
			    }
				
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				if (br != null)br.close();
			} catch (IOException ex) {
				ex.printStackTrace();
			}
		}
		return sCurrentLine;
 
	}