این هم کد خواندن یک فایل متنی از assets
InputStream input;
try {
input = getAssets().open(fileName);
int size = input.available();
byte[] buffer = new byte[size];
input.read(buffer);
input.close();
String text = new String(buffer);
}
catch (IOException e) {
e.printStackTrace();
}