read database.js