Convert binary file to text python