Generate public url for file