How to create a folder structure and add files