@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        
        if (obj instanceof Message) {
            Message m = (Message)obj;
            if (m.file.getAbsolutePath().equals(this.file.getAbsolutePath())) {
                return true;
            }
        }
        return false;
    }