FIX Check the existence of cdnfile before making use of its functionality