remove mif sub-directory