function module get file extension sap

function module get file extension sap
SAP file extension FMs
TRINT_FILE_GET_EXTENSION

It will return the file type such as .XLS , .doc etc