Added hash attribute to file object