adding support for sequence file