use hashcode to operate the files