You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: readFACE.m
    path of file: ./repos/gptoolbox/mesh
    
    the code of the file until where you have to start completion: function [F,B,P] = readFACE(filename,varargin)
  % READFACE
  %
  %[F,B] = readFACE(filename)
  %
  % Read triangular faces from a .face file
  %
  % Input:
  %  filename  name of .face file
  %     Optional:
  %       'ForceNoBoundary' followed by true or false
  %       'ParentTetrahedra' followed by true or false. True if '-nn'

    
function [F,B,P] = readFACE(filename,varargin)
  % READFACE
  %
  %[F,B] = readFACE(filename)
  %
  % Read triangular faces from a .face file
  %
  % Input:
  %  filename  name of .face file
  %     Optional:
  %       'ForceNoBoundary' followed by true or false
  %       'ParentTetrahedra' followed by true or false. True if '-nn'
  %        option is used during tetgen.
  % Output:
  %  F  list of triangle indices
  %  B  list of boundary markers
  %

  force_no_boundary = false;
  parent_tetrahedra = false;
  
  % default values
  % Map of parameter names to variable names
  params_to_variables = containers.Map( ...
    {'ForceNoBoundary', 'ParentTetrahedra'}, ...
    {'force_no_boundary', 'parent_tetrahedra'} );
  v = 1;
  while v <= numel(varargin)
    param_name = varargin{v};
    if isKey(params_to_variables,param_name)
      assert(v+1<=numel(varargin));
      v = v+1;
      % Trick: use feval on anonymous function to use assignin to this workspace
      feval(@()assignin('caller',params_to_variables(param_name),varargin{v}));
    else
      error('Unsupported parameter: %s',varargin{v});
    end