Add file transfer functionality (to be tested).