def get_name_from_path(path):
    """
    Return just the filename from its full path.

    :param path: (str), directory path.
    :return: (str), name of file.
    """
    filename = path.split("/")[-1]
    return filename.split(".")[0]