Return an error if the file could not be opened
Run failure callback function on error
Add failureCallbackFunction in open() example