process import directory