reverted S3Connections.java after it got messed up in a merge conflict.