Added file upload support to sample app; updated to latest lib