Added output file for bin data to Model class