Moving writer modules into a single file