now writing alignments to file and printing file name for alignment list
in one go