Simplified the checks for unreadable/unwritable formats