public static NameNode NameNodeDesserial() {
        File file = new File("namenode.out");
        ObjectInputStream oin;
		NameNode namenode = null;
		try {
			oin = new ObjectInputStream(new FileInputStream(file));
	        namenode = (NameNode) oin.readObject();
	        oin.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return namenode;
	}