Split shell code into several files.