Fixed file upload messages and modified Capture_Fragment with new code