base: File API

We should mention and link to jQuery promise documentation somewhere near here, so that people can go there to find out about more related functions to call on the promise.