Split inner classes into files