lib/snippet.js
function (fp) {
    if (this.content) return this;
    fp = path.resolve(this.cwd, fp || this.path);
    this.content = utils.tryRead(fp);
    return this;
  }
function (fp) {
    if (this.content) return this;
    fp = path.resolve(this.cwd, fp || this.path);
    this.content = utils.tryRead(fp);
    return this;
  }
function ( fp ) { if ( this . content ) return this ; fp = path . resolve ( this . cwd , fp || this . path ) ; this . content = utils . tryRead ( fp ) ; return this ; }
Read a utf8 string from the file system, or return if
`content` is already a string.

@name .read
@param  {String} `fp` Filepath
@api public
Read a utf8 string from the file system or return if content is already a string .