Given the physical path of a file, how would I get its virtual path from the web site?

Thanks,
Josh