list based file/dir constructors