Revise output directory/file name scheme.