Is it assumed that the path is local?  Could this be a URL?  Let's do some error checking.