output to a separate folder
folder refactoring