public static FlatFile loadFlatfile() throws IOException
	{
		System.out.println("DIRECTORY IS NULL");
		File flatfilefile = new File("plugins/Favor-Disfavor" + "/Database.fd");
		new File("plugins/Favor-Disfavor").mkdirs();
		//Our returned object.
		FlatFile flatFile = null;


		//If this boolean is false, Shit has gone terribly wrong and you should consider uninstalling windows.
		//If you are running this on windows, you have bigger problems and should consider unistalling your brain.
		if (flatfilefile.exists())
		{
			System.out.println("Database exists...");
			flatFile = new FlatFile();
			FileInputStream fstream = new FileInputStream(flatfilefile);

			// Get the object of DataInputStream
			DataInputStream in = new DataInputStream(fstream);

			BufferedReader br = new BufferedReader(new InputStreamReader(in));

			String strLine;
			//Read File Line By Line
			while ((strLine = br.readLine()) != null)
			{
				try
				{
					//Split the string by a comma.
					String[] splitString = strLine.split(",");

					//Sort the appropriate data values.
					String playerName = splitString[0],
							playerValue = splitString[1];
					System.out.println("Player " + playerName + " has a favor score of " + playerValue + ".");
					//Adds the player to the list.
					flatFile.addPlayer(
							new FDPlayer(playerName, Byte.parseByte(playerValue)));
				}
				catch (Exception e)
				{
					System.err.println("Error Occured while parsing FlatFile: " + strLine);
					continue;
				}
			}

			//Close the input stream
			in.close();
		}
		else
		{
			flatFile = new FlatFile();
		}

		//Then we return the flatfile instance.
		//no shit sherlock
		return flatFile;

	}