creating library file