Remove unneeded raw/line mode switch
Add server-only support for downloading ALL files (to be used with the "fileclient" java client)
Fix messed up code layout