remove files not needed in an API