Can LR Open File, Grab Data, Post Data, & Close File

I am new to LoadRunner. I believe that I know the answer to this question but wanted to see if anyone has done this successfully. First, I am using an Ajax protocol. I use a SQL SSIS package to generate XML files and store them in a directory. I need LR to open each individual file, grab the XML, post to an Ajax app, and then close. Can this be done in recording? (I don't believe so). Or can someone post a scripting example to assist in doing this?