- was meant to be getExtension not getFileExtension