public static boolean areFilenamesEquivalent(String filename1, String filename2) {
		if (isWindows()) {
			// Windows is not case sensitive so we need to ignore case.
			return filename1.equalsIgnoreCase(filename2); // Should be expanded to handle the ~ thing.
		} else {
			return filename1.equals(filename2);
		}
	}