lib/src/main.js
function openFile(filename) {
  return new Promise((resolve, reject) => {
    opener(filename, null, err => err === null ? resolve(filename) : reject(err));
  });
}
function openFile(filename) {
  return new Promise((resolve, reject) => {
    opener(filename, null, err => err === null ? resolve(filename) : reject(err));
  });
}
function openFile ( filename ) { return new Promise ( ( resolve , reject ) => { opener ( filename , null , err => err === null ? resolve ( filename ) : reject ( err ) ) ; } ) ; }
Opens a file

@param {string} filename Name of file to open

@return {Promise} Resolves with filename if successfully opened
Opens a file