Updated code to not use hard coded path separator.