refactoring: extracted reading from file
comment on the Scanner usage to convert InputStream to String
changed minSdkVersion to 8