Rehashing the files