Reading files in hash tables