Replaced getFileSize() with getMetaData().
getMetaData() now returns a json string containing name, size and dataURL properties.