builds file structure