added comment to output function. added './genomes' to files variable