Some sites block my app file type
<p>I created my own file type called foo. It is text file.
What I want to do is when user touches file name with extension .foo in Safari, my app is executed. 
But, because it is text file, some sites show that file in text viewer. 
How can I prevent that? It works fine in other sites.
This is what I wrote in my info.plist.</p>

<pre><code>&lt;key&gt;CFBundleDocumentTypes&lt;/key&gt;
&lt;array&gt;
    &lt;dict&gt;
        &lt;key&gt;CFBundleTypeIconFiles&lt;/key&gt;
        &lt;array&gt;
            &lt;string&gt;myicon.png&lt;/string&gt;
        &lt;/array&gt;
        &lt;key&gt;CFBundleTypeName&lt;/key&gt;
        &lt;string&gt;my file&lt;/string&gt;
        &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
        &lt;string&gt;Viewer&lt;/string&gt;
        &lt;key&gt;LSHandlerRank&lt;/key&gt;
        &lt;string&gt;Owner&lt;/string&gt;
        &lt;key&gt;LSItemContentTypes&lt;/key&gt;
        &lt;array&gt;
            &lt;string&gt;com.mycompany.foo&lt;/string&gt;
        &lt;/array&gt;
    &lt;/dict&gt;
&lt;/array&gt;

&lt;key&gt;UTExportedTypeDeclarations&lt;/key&gt;
&lt;array&gt;
    &lt;dict&gt;
        &lt;key&gt;UTTypeDescription&lt;/key&gt;
        &lt;string&gt;my file&lt;/string&gt;
        &lt;key&gt;UTTypeIdentifier&lt;/key&gt;
        &lt;string&gt;com.mycompany.foo&lt;/string&gt;
        &lt;key&gt;UTTypeTagSpecification&lt;/key&gt;
        &lt;dict&gt;
            &lt;key&gt;public.filename-extension&lt;/key&gt;
            &lt;string&gt;foo&lt;/string&gt;
        &lt;/dict&gt;
    &lt;/dict&gt;
&lt;/array&gt;
</code></pre>
