Adding template database file