Get the local file path for the media.