removing previous files for api