move output to seperate files