[#14] Using Dir[] instead of Dir.foreach in ArticleManager