find place of file or log