code: function fromFile(args, cb) {
  
      var file;
      var hashalgo;
      var blocksize;
  
      if (!args.file) {
          cb('The absolute path to a file is required', null);
  
      } else {
          file = args.file;
          
          if (!args.hashalgo) {
              hashalgo = 'sha256';    // Set the default hash as SHA-256
          } else {
              hashalgo = args.hashalgo;
          }
  
          if (!args.blocksize) {
              blocksize = 1048576;    // Set default size to 1 MiB
          } else {
              blocksize = args.blocksize;
          }
  
          // Import dependencies
          var HashFile = require('./lib/hash-file');
          var genMerkle = require('./lib/merkle-gen');
  
          // Initialize the blockreader
          var blockreader = new HashFile(hashalgo, blocksize);
  
          // Hash the file using the specified block size
          blockreader.hashBlocks(file, function (fastMap) {
  
              // Generate a Merkle Tree from the leaves
              genMerkle(fastMap, hashalgo, function (tree) {
                  cb(null, tree);
              });
          });
      }
  }
docs: fromFile()
  
  Generates a Merkle Tree from the arguments passed into args. The absolute path
  to the file must be specified.
  
  @param {object} args An object containing the arguments to construct
  the Tree. See the README for more info.
  @param {callback} cb An object containing the Merkle Tree. See
  the README for more info.