Added abitlity to name outputfile