Removing unnecessary database file