    # File lib/fog/aws/models/storage/files.rb, line 61
            def get(key, options = {}, &block)
              requires :directory
              data = connection.get_object(directory.key, key, options, &block)
              file_data = data.headers.merge({
                :body => data.body,
                :key  => key
              })
              normalise_headers(file_data)
              new(file_data)
            rescue Excon::Errors::NotFound => error
              case error.message
              when /<Code>NoSuchKey<\/Code>/
                nil
              when /<Code>NoSuchBucket<\/Code>/
                raise(Fog::Storage::AWS::NotFound.new("Directory #{directory.identity} does not exist."))
              else
                raise(error)
              end
            end