Helpers to list directories & files, flush dns