function dir(fullPath) {
  if (Blueprint._existsSync(fullPath)) {
    return Blueprint._readdirSync(fullPath).map((fileName) => path.join(fullPath, fileName));
  } else {
    return [];
  }
}
@private
 @method dir
 @return {Array} list of files in the given directory or and empty array if no directory exists