check file type

filetype(path)

Arguments

path

file path. character(1L)