added output stage file