reindex file on every save