Any posts (public or private) that link to that file will prevent it from being automatically deleted.