Use find instead of ls to delete code files and directories.