Change get hash to get file and file hashCode fix