try catch hard code for android
TODO change the generation for type file ,filereader,bufferedreader
...