added file io on python quirks