Implement File->getExtension