change parser logic: match all file types