Removing obsolete files from main directory