Create fileopen.js

Contains the code of IMPORT from HTML