compile extract with local files