delete file changes in db