If you want to read a FileDocument you need to use the method getFileDocumentContent from the Core API. This will give you an InputStream that you can then read from. For example...
InputStream f = Core.getFileDocumentContent(context, yourFileDocumentObject.getMendixObject());
Hope this helps.