def load_file(filename, maxbytes=_unspecified):
 filename = _path_string(filename)
 if (maxbytes is _unspecified):
  maxbytes = (-1)
 elif (not isinstance(maxbytes, int)):
  raise TypeError('maxbytes must be an integer')
 return _lib.RAND_load_file(filename, maxbytes)

def load_file ( filename , maxbytes = _unspecified ) : filename = _path_string ( filename ) if ( maxbytes is _unspecified ) : maxbytes = ( - 1 ) elif ( not isinstance ( maxbytes , int ) ) : raise TypeError ( 'maxbytes must be an integer' ) return _lib . RAND_load_file ( filename , maxbytes )
opens filename with encoding and return its contents .