set up file hierarchy