Implemented file transfer over pipe