Don't add a file in the share array if it is already there