set up the working files