rm files and clear code