def METHOD_NAME(self):
    source_file = data_file("game.gif")
    with source_file.open("rb") as file:
        parsed = telegram._utils.files.parse_file_input(file)
    assert isinstance(parsed, InputFile)
    assert parsed.filename == "game.gif"
    with source_file.open("rb") as file:
        parsed = telegram._utils.files.parse_file_input(file, filename="test_file")
    assert isinstance(parsed, InputFile)
    assert parsed.filename == "test_file"