configurable save dir by file types