first working version that has outputs converted into suitable format - now prints them into a txt catalog