Before getting started with telegram-files, you should apply a telegram api id and hash. You can apply for it on the Telegram API page.
Preview can do more than just show you a file in macOS, as it is especially handy for annotating images and editing PDFs.