Added example of getting extension of a file