modify input and output files pos
remove input and output files
add recursive problem:pair problem