Created method sendFile in SAMPCA to, well, send files.