text: class valid_io:
      def __init__(self, f):
          self.f = f
  
      def __call__(self, *args, **kwargs):
          # Check if input/output is in kwargs
          
          # Else check if there are strings in args that ends with .tex/.pdf
  
          # Check that there are no slashes in the file names
          # If there is, replace it with a dash
  
          pass
  