This logic is one of the things I'd pull out into a separate class to
modularize for ease of porting to non-filesystem based persistence,
but I think maybe there would be payoff even for supporting different
OS filesystems.
Try to think of this as a language translation problem. Current
working directory is really an idiom for "stuff I'm working on now." I
think './' is a reasonable default path for unix-y operating systems,
but in Windows it's probably something like "%HOMEDRIVE%%HOMEPATH%
\Desktop". It's common to have different default behavior for
different OS flavors in order to try and be a good citizen in each.
I assume you just want to leverage the python import to deal with OS
file search idiosyncrasies?