still struggling to get data out of files