Remove unused function file_exists_or_set_null