def cleanPath(path):
    """
    Cleans up raw path of pdf to just the name of the PDF (no extension or directories)

    :path: path to pdf
    :returns: The PDF name with all directory/extensions stripped

    """
    filename = path.split("/")[-1]
    filename = filename.split(".")[0]
    return filename