code: def find_file_format(file_name):
          
          for file_format in Format.ALLOWED:
              file_path = '.'.join((file_name, file_format))
              if os.path.exists(file_path):
                  return file_path, file_format
          return None, None
docs: Returns a tuple with the file path and format found, or (None, None)