Added read ability for filesystemadapter
Output the error coming from the ndk