Start of Files API functions

getFiles() needs thought and update of name, annotations is absent; I welcome critique.

Updates: getFiles is a superset of getFile, and thus calls it with an array of ids; updateFile() added.