Class for sending and receiving files.