scan file from path with asterisk can include the separator: path* or path\*