Create functions.

1. Create directory in hierarchy
2. Create file in hierarchy
3. Create file contents in hierarchy