Added documentation to cloud.js.
Getting file data from cloud.