reamoved as many files as possible from the root directory