Output statement collections to different files