code: def save_profile(self, profile):
          
          profile = profile.replace('.json', '')
          profile_path = os.path.join(
              self.root_directory,
              'minimum_needs',
              profile + '.json'
          )
          self.write_to_file(profile_path)
docs: Save the current minimum needs into a new profile.
  
          :param profile: The profile's name
          :type profile: basestring, str