deleteFile(filename) {
    return Q()
      .then(() => checkFileExt(filename, this.type, this.ext))
      .then(() => checkFileExist(filename))
      .then(() => FS.remove(filename))