deleted unused file
Added a flag to enable/disable print to stdout