Using the Cordova-file-plugin how do you return the result to a function call.
For example if I call the readFile() like this: On success I want to return the result back