Added debug statements and removed the unused file