check if file is already shared