added open_or_create method
Merge pull request #1 from mmcdaris/open_or_create

added open_or_create method