    # File lib/fog/aws/models/storage/versions.rb, line 15
            def all(options = {})
              data = if file
                connection.get_bucket_object_versions(file.directory.key, options.merge('prefix' => file.key)).body['Versions']
              else
                connection.get_bucket_object_versions(directory.key, options).body['Versions']
              end

              load(data)
            end