Files are uploaded, updated or deleted via the Records API.

The File API is usually used to fetch/download a file resource (with support for basic image manipulations, like generating thumbs).