Remove unnecessary files with deprecated code