Ok, I've figured out how to solve this, thanks to this other quetion: https://english.stackexchange.com/questions/11481
The problem is the generator doesn't create right views and model. You'll have to do this modifications by hand.
First in the view _form.html.erb:
<div class='field'>
<%= f.label :file_id -%>
<%= render :partial => "/refinery/admin/resource_picker", :locals =>
{
:f => f,
:field => :file_id,
:resource => @article.file} %>
</div>
And now add this line to the model, article.rb:
belongs_to :file, :class_name=>'Resource'
Of course you have to modify the show view too. For example:
<section>
<h1>File</h1>
<p>
<%= link_to("Download", @article.file.url) if @article.file %>
</p>
</section>
Would be nice if the generator would do this all automatically but with this you'll have it working.