private void saveCompletedLevel(String mapName) {
	boolean createdNewFile = false;
	try {
	    File file = new File(COMPLETED_TXT_PATH.toString());
	    if (!file.exists()) {
		createdNewFile = file.createNewFile();
	    }
	    String mapUrl = COMPLETED_TXT_PATH.toString();

	    File inFile = new File(mapUrl);
	    // open input stream test.txt for reading purpose.

	    List<String> completedMaps = new ArrayList<String>();
	    BufferedReader bufferedReader = new BufferedReader(new FileReader(inFile));
	    try {
		String thisLine = bufferedReader.readLine();
		while (thisLine != null) {
		    completedMaps.add(thisLine);
		    thisLine = bufferedReader.readLine();
		}
		checkIfCompleted(completedMaps, mapName, file);
	    }finally {
		bufferedReader.close();
	    }
	}catch (IOException e){
	    e.printStackTrace();
	}


	if (createdNewFile){
	    System.out.println("Created an new completed.txt");
	}
    }