Add failure icon to error message
Add debug line and file display