add sequence file support for both text and png