Adding open modes to FileMaster open/close functions.