log.error -> log.info if file type is unknown.