make filename flag persistent