code: function getPlatVersionsFromFile(platformsJsonFile){
  
      var platformData;
  
      // Handle 'file not found' exception and stay within the 'promise monad'
      try{
          platformData = getJson(platformsJsonFile);
      } catch(e) {
          return Q.reject(e);
      }
  
      var platformVersions = [];
  
      platformVersions = Object.keys(platformData).map(function(p){
          return {platform: p, version: platformData[p]};
      });
  
      return Q(platformVersions);
  }
docs: Returns a promise