Implemented getFileExtension()