Spreadsheet Link to Cloud file

Is it possible to create a direct link to a PDF or JPG file in the spreadsheet of onlyoffice? Basically similar to a hyperlink, but internally in the cloud. The file is in another folder.
I have a table in which I enter whether a contract partner has returned the contract. If so, I want the contract (Pdf or jpg) to be opened with one click in the spreadsheet.
How can I do this?