Create file.js

Uses the existing HTML5 "file" input type when format is "file", but enhances it by populating the value with the file's DataURI using the FileReader API