Keep history of file hashes, and remove duplicates.  Resolves issue #5.