We need a simple example and docs to explain to all developers how to convert to the new FIle API
http://docs.moodle.org/en/Development:File_API_HOWTO