for binary mode it should do .bin for input name of dataset like //'my.data.set' it gives //'my.data.set'.txt - bad