Functioning file tree for scope added. supports file save.