now outputs a working .text file with all the needed infos