all stages are written to files