$fh = $query->upload('uploaded_file'); while (<$fh>) { print; }