Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-get-file-basic-attributes/
How do I get file basic attributes?