remove dead file and log statement