private void load(String fileName) throws IOException
	{
		FileRead fp = null;
		File file = new File(Data.getDataDirectory() + "/data/level/" + fileName);

		try
		{
			fp = new FileRead(file);
		}
		catch (Exception e)
		{
			System.out.printf("Failed to load collision map: %s\n", fileName);
			throw new IOException("Missing game data:\n"+fileName+"\nPlace the editor directory within the game directory.");
		}

		if (fp != null)
		{
			int index = 0;

			while (fp.hasNext())
			{
				String next = fp.getNext();

				if (next.equals("EOF"))
					break;
				map[index] = Integer.parseInt(next);

				index++;
			}
		}
	}