Generalized the skip functionality so it works for both modes (scopefiles and source files), and takes absolute pathnames.