redirect for local files