File.write() needs to call File.read() with mode='r' or mode='rb'. Also unpacked file open, read, close — not using "with" syntax
File.write() needs to call File.read() with mode='r' or mode='rb'. Also unpacked file open, read, close — not using "with" syntax

BlackEarth/bl,BlackEarth/bl