added support for cat command