# Pastebin MS2kMVss file_bytes = open(file_path, "rb").read() try: file_bytes = file_bytes.decode().replace('\r\n', '\n') file_bytes = file_bytes.encode()