set root to current file