Layout data structures and test code for file transfers.