Custom Metadata misleading example

Constructor FS.File does not work without file in argument. Throws: Uncaught Error: FS.File.attachData requires a data argument with some data