Removed Commented Code and logging printStatckTrace() to log file