base example of reading file