added libray api to support items files ingest.