proof of similar concept with ctypes file