refactor dir ... to DirJson and Dirzip... Also, dir follows symlinks