sets up file directory structure