Added equality + variable output file