old_contents: import os
  import laspy
  
  
  def load(path):
      if not os.path.exists(path):
          raise OSError('{} not found.'.format(path))
  
      file = laspy.file.File(path)
      points = {'x': file.get_x, 'y': file.get_y, 'z': file.get_z}
      return {'points': points}
  
new_contents: import os
  import laspy
  
  
  def load(path):
      if not os.path.exists(path):
          raise OSError('{} not found.'.format(path))
  
      file = laspy.file.File(path)
      points = {'x': file.X, 'y': file.Y, 'z': file.Z}
      return {'points': points}
  
subject: change laspy access from .get_x to .X