should only run on good files