use input file name for result file name
use input file name for result file name