Create fileopener.js

Simple javascript function FileOpener with only one method 'open' to open local file.