The folder icon is one of the first desktop metaphors. It was part of the Xerox Alto icon set.
The sample here is from the Xerox Star. The folder icon follows the paper paradigm where files are organised in folders which in turn can be placed on the desktop. It closely resembles a real office file folder and it hasn't much changed over the years.
Xerox Alto 1973.