Some lib changes to add a file