added filename format option