Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

File API internals

From MoodleDocs

This page outlines the current thinking about implementing file storage and access within Moodle 2.0. UNDER CONSTRUCTION!

A lot of this has been brought over from the discussion about the Repository API which is intimately connected.