function readFromFile (file, encoding) {
  'use strict';
  try {
    return fs.readFileSync(file, encoding);
  } catch (err) {
    throw new Error('Could not read from file ' + file + ', reason: ' + err.message);
  }
}
Reads from a file
@param {string} file Filepath to dile
@param {string} encoding Encoding of the file
@returns {Buffer}