Added simple hash check functionality to deal with identical files