wp scaffold needs the file API, not the media API