code: function extractExtension(file) {
          var format;
          format = file.lastIndexOf('.');
          return format < 0 ? null : file.substr(format+1);
      }
docs: ### extractExtension
  
  Extracts the extension from a file name
  
  @param {string} file The filename
  
  @return {string} The extension or NULL if not found