remove unused file and log