Helper function: Figure out which shards belong together given root input name and extension i.e. root/name.##.ext
Source:R/bascet_file.R
detectShardsForFile.RdHelper function: Figure out which shards belong together given root input name and extension i.e. root/name.##.ext