Support globbing. Fix line numbers