add base root and file