clearing out bad files