attempt to open a file read only if fail (the file does not exist) open the file in create mode become lead process else become worker process