removed a check outfile thingy cause not needed any more