Port of FileZapper to python.