If a file has been shared with an organization, it can no longer be deleted. This is due to organization's record keeping requirements. If a file has been uploaded, but not shared yet, you are able to delete it.