Splits module into own file