Fixed issue in file matching, which causes that no files will be found