Implement tenants file writing
Merge branch 'master' of https://github.com/lahiruchandima/event-sink