# How to iterate over all EPUB files in a directory and gather some stats ## Example [!code-csharp[Main](../../Source/VersOne.Epub.ConsoleDemo/TestDirectory.cs)] ## See it in action Download the [.NET console demo app](https://github.com/vers-one/EpubReader/releases/latest/download/ConsoleDemo.zip), run it, and select the **3. Test the library by reading all EPUB files from a directory** option.