added ability to handle `/` as public path -returns `/filename` always