Implemented cat command.