Check the code and delete unnecessary files