public static boolean isMove(Commands one, Commands two){ 
        boolean path = getFileName(one).equals(getFileName(two));
        boolean cata = one.getCatalog() == two.getCatalog();
        //Null check and makes sure that the commands are opposite
        boolean comm = !(((one.getCommand() == null) || (two.getCommand() == null)) || one.getCommand().equals(two.getCommand())) ; 
     return path && cata && comm;
     }