I think you are right, they don't really fit in "paths.py", but creating a separate file for only two functions of one line each didn't seem to me as an absolutely reasonable solution. But still, you know better and I'll move them to separate file if you insist