old_contents: import os
  import sys
  sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
  
  import random
  
  
  def save_data_to_file(data, filename='data', location='./'):
      """Return true if data has been saved to file
  
      :param list data: a list that contains data
      :param str filename: the desired filename
      :param str location: the desired location for the data file
      :return: file location
      :rtype: str
      """
      filename = f'{filename}_{random.randint(10000, 50000)}.txt'
      while os.path.isfile(filename):
          filename = f'{filename}_{random.randint(10000, 50000)}.txt'
      
      with open(f'{location}{filename}', 'w') as data_file:
          for item in data:
              data_file.write(f'{item}\n')
      return f'{location}\\{filename}'
new_contents: import os
  import sys
  sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
  
  import random
  
  
  def save_data_to_file(data, filename='data', location='./'):
      """Return true if data has been saved to file
  
      :param list data: a list that contains data
      :param str filename: the desired filename
      :param str location: the desired location for the data file
      :return: file location
      :rtype: str
      """
      filename = f'{filename}_{random.randint(10000, 50000)}.txt'
      while os.path.isfile(filename):
          filename = f'{filename}_{random.randint(10000, 50000)}.txt'
  
      with open(f'{location}{filename}', 'w') as data_file:
          for item in data:
              data_file.write(f'{item}\n')
      return f'{location}\\{filename}'
  
subject: Fix whitespace