separate shell into 2 files