wip: add README for samples/opsm
modify file open for windows