code: function readWallet( file, logger, defaultToUncompressedKeys ){
  	var rawWalletData;
  	try{
  		rawWalletData = FS.readFileSync(file, 'utf8');
  	}
  	catch(err){ 
  		throw new Err.FileSystemError(err); 
  	}
  	var lines = rawWalletData.split("\n");
  	var keys = [];
  	for( var i=0; i<lines.length; i++ ){
  		if( lines[i] != "" ){
  			var fields = lines[i].split("	");
  			if( fields.length != 2 ){
  				logger.logWarning("warning - ignoring corrupt wallet entry: " + lines[i]);
  			}
  			else{
  				try{
  					var entry = new KeyPair( fields[1], fields[0], defaultToUncompressedKeys );
  					keys.push( entry );
  				}
  				catch(err){
  					logger.logWarning("warning - ignoring corrupt wallet entry (" + err + "): "+ lines[i]);
  				}
  			}
  		}
  	}
  	return keys;
  }
docs: /*
  readWallet
  
  Internal function to read the given wallet file and return an array of KeyPair objects