make output filename of 3_ dependent in input filename