code: def file_extension(self, category=None):
          
          category = category if category else self.random_element(
              list(self.file_extensions.keys()))
          return self.random_element(self.file_extensions[category])
docs: :param category: audio|image|office|text|video