Creation of database connection file