code: def loadfile(self, filename, mode='replace', **options):
          
          self.command('loadfile', filename.encode(fs_enc), mode, MPV._encode_options(options))
docs: Mapped mpv loadfile command, see man mpv(1).