Upload file management issues

Hi, guys.
I have a few questions about running a RocketChat server.

  1. How do I erase files that have been transferred to a chat room without a problem?

  2. If I cancel while sending the attachment to the chat room, will the file that was being sent be automatically deleted or left on the server?

If it remains on the server, what are the methods or procedures to delete it?

Thank you.