delete old resources file