Update README.md

Add example for accessing fileinfo and custom data of target objects.