Replace hard coded path separator with variable