def METHOD_NAME(test_name: str, file_name: str, data: str, perm: str = "w+") -> Path:
    test_path = create_folder_for_test_data(test_name)
    data_path = test_path / file_name
    with open(data_path, perm) as f:
        f.write(data)
    return data_path