unmarshalTypeFromFile method is using FileReader
The method - public static T unmarshalTypeFromFile(Class domainClass, File file), is using the FileReader object to reader the file. That means it uses the default character encoding. If we use the InpuStreamReader instead, we can specify the character encoding, e.g utf-8, which is good for internationalization.
If we want to stick to FileReader in this method ( we have unmarshalTypeFromStream(Class domainClass, InputStream inputStream) as the alternative), at least in the java doc we should let user know - it is use the default character encoding.