@Override
	public String toString() {
		String path = "";
		String separator = System.getProperty("file.separator");
		if(System.getProperty("os.name").contains("Windows")) {
			if(isRoot) {
				path += pathelements.get(0).toString().toUpperCase() + ":" + separator;
				pathelements.remove(0);
			}
		}
		else {
			if(isRoot) {
				path = separator +  pathelements.get(0).toString().toLowerCase() + separator;				
				pathelements.remove(0);
			}
		}
		for(Mixed mix : pathelements)
			path += mix.toString() + separator;
		path = path.substring(0, path.length() - 1);
		if(extension != null)
			path += "." + extension.toString();
		return path;
	}