I will have users upload a .txt file in the Salesforce Files uploader (shared to a particular group).
Then, I want to access the text of that file within my Apex Class to do something with it.
I'm guessing I'd have to query it by name using SOQL, then access it's blob and change it to string. I'm just not sure how to do this even after reading the ContentDocument, ContentVersion and ContentBody Documentation.
Could someone suggest some code to put in my class?