set up file structures