Pass file to the function. For large files, we need to raising the value of "rlimit.fsize" in /etc/opencpu/server.conf.
Also need to tweak apparmor client_request_body_size to allow uploading large files.

After execution, open the output html page from opencpu server.