Clean up output
Roots checked when a newly added file is saved.