File Sharing done in 2 threads