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: CEDS64Open.m
    path of file: ./repos/PsPM/src/Import/CEDS64ML
    
    the code of the file until where you have to start completion: %{
    Copyright (C) Cambridge Electronic Design Limited 2014
    Author: James Thompson
 
    
function [ fhand ] = CEDS64Open( sFileName, iMode )
%CEDS64OPEN Opens an exiting SON file
%   [ fhand ] = CEDS64Open( sFileName {, iMode} )
%   Inputs
%   sFileName - String contain the path and file of the file we wish to
%   iMode - (Optional) 1= read only, 0 = read and write, -1 try to open as
%   read write, if that fails try to open a read only open
%   Outputs
%   fhand - An integer handle for the file, otherwise a negative error code.

if (nargin < 1)
    fhand = -22;
    return;
end