make output file name automatically.