add example for readFile()