Proper file tree edit