changed compilLoad to efficiently deal with 2 files