minor bug when with reporting a failed file