how to make the library file