code: function getAppFileNames(appName, dir) {
      var partialsDir = this.pancakes.getRootDir() + delim + 'app' + delim + appName + delim + dir;
      return fs.existsSync(partialsDir) ? fs.readdirSync(partialsDir) : [];
  }
docs: Get all file names in a given app's directory
  @param appName
  @param dir
  @returns {*}