add check for potentially deprecated files