A container for carrying, and a file that re-exports many others through one door. Both gather so a single handle serves.
Old French baril (a barrel, a cask), of uncertain deeper origin, possibly related to Vulgar Latin barrica; the file-that-re-exports sense is a modern extension of the container word.
A container for carrying, or a file that gathers many others behind one handle.