Fixed the file naming error and the need to manually delete the SQLite file.