Can write generated vectors to designated file.