Allow multiple shapes for file objects.