How does the file library work?