log error for unreadable file