Add file output API to generateDatabaseConfig() (#10)