add support for .txt