turn list of a* into one file