I didn't test it with other files, and it does not seem to work with
them. For some reason (org-open-link-from-string path) does not seem to
actually open the file at path. I am not sure why, since the follow code
works just fine.
Here is a hackier version that seems to work for me: