Create curlfile