private static void CreateNewBin(string binFileName) { var data = _converter.CreateEmptyData(); var car = data.AddCar(); car.SetBrandName("BinCar1"); car.SetPrice(1500); car.SetDate(new DateTime(2015, 11, 1)); car = data.AddCar(); car.SetBrandName("BinCar2"); car.SetPrice(2200); car.SetDate(new DateTime(2014, 11, 10)); _converter.SaveDataFile( data, binFileName, _availableFormats.FirstOrDefault(it => it.GetName() == "Bin")); }