ready to implement file writer and dispatch