ruby program for file exachange between two machines