public FileInfo get(URI file) {
Session session = null;
try {
session = getSession(file);
final ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
final InMemoryDestFile destination = new InMemoryDestFile() {
@Override
public OutputStream getOutputStream() throws IOException {
return outputStream;
}