Script now correctly works with dir matching pattern *.txt; File names with spaces are correctly handled too; Sample files added;