Moving database credentials into a file