added open_or_create method

this makes sure the `bmn_log.txt` file is created if it does not already exist.