When you op an Office document from a file share a temporary file is created.
Normally they are deleted automatic when the document is closed, but sometimes this does not happen.
You can then end up with many temporary files that can take up a lot of space.
Search with this string in the file explorer. It will find all the tilde files.