I am a novice when it comes to flow.js and am currently using the ng-flow implementation. I have a specific task in mind, but I'm unsure if it's feasible or not, and if it is possible, how to achieve it. I've created a factory that captures all events, and I require it to automatically upload a file when it detects the FilesSubmitted event. Despite referencing the flowJs documentation here, I have been unable to locate the upload() method when logging the 'file' element in the console. It seems as though the method does not exist. I had assumed that perhaps the resume() function was calling the method internally, but that didn't work either.