Output directory based paged html