def get_extension(file_path: str):
    """
    Returns a file's extension if any, else None
    :param str file_path:
    :return:
    """
    split = file_path.rsplit('.', 1)
    return split[1] if len(split) > 1 else None