public FileSystem getFileSystemInstance() {
		if (conf.getString("FileSystem") != null) {
			if (conf.getString("FileSystem").equalsIgnoreCase("local"))
				return FileSystem.getFileSystem("local");
			else if (conf.getString("FileSystem").equalsIgnoreCase("Distributed")) {
				String host = conf.getString("DFSHost");
				Integer port = conf.getInt("DFSPort");
				if (host != null && port != null)
					return new DistributedFileSystem(host, port);
			}
		}
		return null;
	}