get %INC and dump into file