Rework file downloading to limit use of sudo. Improved List files by specifying directory.