save in an out directory