Added simple transferFile method