change absolute path to pathFor