Finishes file lib