United Way funding helps local library