OS independent path methods