How to extract text from a PDF/DOCX uploaded via the File Node?

Hi team,

What is the correct way in Yellow.ai to read and extract text from a PDF or DOCX file that a user uploads through the File Node? Are there any supported methods, sample scripts, or recommended approaches for this?