prepare files for ex2