def get_extension(filename):
    """
    Returns the extension of the filename passed, if it exists.
    :param str filename: Name of the file to find the extension of
    :return: A string containing the extension (no '.' character)
    """
    split_string = filename.split(".")
    last_index = len(split_string)-1
    return split_string[last_index]