Removed file write used for debugging.