1st shitty version filling a data file