Corrected file transfer
+ Some bug fixes in file handling
+ Transfer now with buffering