public void removeFile(String person, String path) {
        User theOne = new User();
        SignatureFile thePath = null;
        try {
            ArrayList<User> users = DataBase.getInstance().getUsers();
            for (Iterator it = users.iterator(); it.hasNext();) {
                User user = (User) it.next();
                if (user.getLogin().equals(person)) {
                    ArrayList<SignatureFile> files = user.getFiles();
                    for (Iterator iti = files.iterator(); iti.hasNext();) {
                        SignatureFile file = (SignatureFile) iti.next();
                        if (file.getFile().getAbsolutePath().equals(path)) {
                            theOne = user;
                            thePath = file;
                        }
                    }

                }
            }
            theOne.getFiles().remove(thePath);

            DataBase.getInstance().save();
        } catch (Exception e) {
            System.out.println(e.getMessage());
            Logger.getLogger(RemoveFile.class.getName()).log(Level.SEVERE, null, e);
        }
    }