Read an attachment file from issue in Script Runner

Hello everyone
How can I achieve to read the data in the attached file on the issue in Script Runner on Jira Cloud?
Thank you