these paths are not valid for windows. put Platform.windows? around this code unless you intend to support both platforms