Export found modules in file