writes sequences to files now