code: function Dbf(fileName) {
  
  	this._fileName = fileName;
  	var self = this;
  	this._promise = new Promise(function(resolve, reject) {
  
  		fs.open(fileName, 'r', function(err, fd) {
  			if (err)
  				reject(err);
  			else {
  				fs.read(fd, new Buffer(32), 0, 0x20, 0, function(err, bytes, buffer) {
  					if (err)
  						reject(err);
  					else if (bytes === 0x20) {
  						try {
  							self._parse(fd, buffer, resolve, reject);
  						} catch (e) {
  							reject(e);
  						}
  					} else
  						reject(new Error('Invalid file length'));
  				});
  			}
  		});
  	});
  
  }
docs: http://www.clicketyclick.dk/databases/xbase/format/dbf.html