You can do this with individual files, not folders. View a file you want to access when offline, then tap the star in the upper-right-hand corner. That will make it a favorite. Then you can access all the favorites by clicking the favorite button in the bottom left corner.