Convert database BLOB (excel/word/..) for saving to local file system


Hi, I have a lot of files stored in a database, that I would like to select from UiPath, and save to the local file system. The files can be of any type like Excel, Word, PowerPoint, Pictures, etc.

When I select the blob using the Execute Query, I get the content in an Object of type Byte Array.

Can anyone give me a hint how I can get that Object converted into a datatype that can be written as a file to the local disk?