Two ways to check for paths (a) full path (b) name