Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-delete-a-file-in-java/
How do I delete a file in Java?