Extract the base name (file name) from the file path.
string of basename. If path is null or not file path, return "";