Deleting the unnecessary files