add annotated file upload capability to SGA

(cherry picked from commit 162d4f1964851ba77fe87e24ac6f65342348bc6f)