input: Write a function to store and querying user data. The function should save the user data in a JSON file and also provide a method to retrieve the data from the file. If the file does not exist, it should return None.
  assert store_user_data({"Name": "John", "Age": 25, "City": "New York"})==None
  assert get_user_data()=={"Name": "John", "Age": 25, "City": "New York"}
  assert store_user_data({"Name": "Jane", "Age": 30, "City": "Los Angeles"})==None
  assert get_user_data()=={"Name": "Jane", "Age": 30, "City": "Los Angeles"}
  assert get_user_data_if_no_file()==None
output: def store_user_data(data):
      with open('user_data.json', 'w') as file:
          json.dump(data, file)
  
  def get_user_data():
      try:
          with open('user_data.json', 'r') as file:
              return json.load(file)
      except FileNotFoundError:
          return None
  
  def get_user_data_if_no_file():
      try:
          with open('user_data.json', 'r') as file:
              return json.load(file)
      except FileNotFoundError:
          return None