customise directory listing, and list generated files