Prevent errors when files were deleted manually