using glob instead of files