removes all redundant files