take out bad files