Added getExtension
Using getExtension