Convert from submodules to regular files