Implement file loading from tree