update to use curlfile instead of adding @ to filepath