Returns the base name of a given file path.
path
String getBaseName(String path) { final localSystemFilePath = toLocalSystemPathFormat(path); return p.basename(localSystemFilePath); }