moved conversion from dos path (\) to unix path (/) to separate function and created unit test