split kernel file into two files