removing arrows for non-dir files.