Sets up file structure.