FileExtension

WMA link


FileExtension["file"]

gives the extension for the specified file name.

FileExistsQ
FileInformation