Add missing checks in FileOptionType