Removed the debug file creation part