Some refactoring to file finding.
Added ability to filter down to subset of target files via entering their indices.