filewrapper equals and hashCode