Fixed some problems in the path matching and catalog generation for static directories of data files