updated logger to display bad file names when an error occurs