made binData.rb take params for files, gave example in file