import java.rmi.Remote;

public interface MetaDataInterface extends Remote {
    // CALLS FROM STORAGE SERVER
    void addStorageServer(String hostname, String top_dir) throws Exception;

    void delStorageServer(String hostname, String top_dir) throws Exception;

    void addStorageItem(String item, NodeType nodeType) throws Exception;

    void delStorageItem(String item) throws Exception;

    // CALLS FROM CLIENT
    String find(String item) throws Exception;

    Stat lstat(String item) throws Exception;

    boolean checkExists(String item) throws Exception;

    boolean isDir(String item) throws Exception;

    boolean isFile(String item) throws Exception;
}

@@ -309,13 +309,9 @@
 ype 
-nodeT
+t
 ype)
@@ -522,64 +522,8 @@
 ean 
-checkExists(String item) throws Exception;%0A%0A    boolean 
 isDi
@@ -574,16 +574,72 @@
 n isFile
+(String item) throws Exception;%0A%0A    boolean checkExists
 (String 

Reorder methods, change argument name