refractor the SeqFilewriter
change the output location of seq file