try {
output.write(buffer, 0, len);
} catch (IOException ie) {
try {
output.write(buffer, 0, len);
} catch (IOException ie) {
try {
return input.read(buffer, 0, len);
} catch (IOException ie) {
try {
return input.read(buffer, 0, len);
} catch (IOException ie) {