function File(url, type, layout, config) {
    _classCallCheck(this, File);

    this.url = type === 'SERVER' ? type + '/' + url : url;
    this.type = type;
    this.layout = layout;
    this.config = config;
    this.html = false;
    this.content;
    this.name;
    this.extension;
    this.title;
    this.excerpt;
    this.date;
    this.datetime;
    this.author;
    this.body;
    this.permalink;
    this.tags;
  }
Represents a file.
@constructor
@param {string} url - The URL of the file.
@param {string} type - The type of file (i.e. posts, pages).
@param {object} layout - The layout templates of the file.