Added file check to glob result, improved warning  message