He was both the longtime archivist of folk music at the Library of Congress and a widely respected singer and songwriter.