Tracking invalid files