Can a script read content from a target text file (e.g. .EML)?

I hope so, but can see no way at https://www.advancedrenamer.com/user_guide/v4/method_script .

If yes, does anyone have an example script? Thanks.