Deserialize an file/directory tree into object form