Removed some explicit debugging to files and system.out.