<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def file_name_without_extension(path):
 """ Return the file name without extension. Examples: :: /foo/bar.baz => bar /foo/bar => bar None => None :param string path: the file path :rtype: string """

    if path is None:
        return None
    return os.path.splitext(os.path.basename(path))[0]