Add autonaming for output file