Made sepstr a const since I can have constant strings and filepath.Separator is constant, which probably makes it safer/more reentrant as well even though the value never changes :/