Support multiple directories for fileseq and dirseq