Output to files and fixed random elements.