modified how outputs files to forward, reverse and extended read directories.