Capture native file in HTML5 runtime environment

Users who want to manipulate the native file in their HTML5-based client (for thumbnails, etc.) need access to the native file data. This modification captures that data so it is available to clients.