add spec for FileSystem/Directory