Make sure filePath corresponds to value in database so entry is deleted on rollback.