A simple file reader from Android Cookbook Chpt 11.3