def out_name(filename_input):
    """Retrieves appropriate filename to match json file to original file

    Args:
        filename_input (string): name of original file (ex. folder/file.csv)

    Returns:
        string: filename
    """
    filename_data = filename_input.split("/")[1]
    return filename_data.split(".")[0]