get draft files in querry

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Hi together,

i’m very new to Silverstripe.
I want to make draft files visible to logged in users.
when i execute a query like File::get()->Where($query) i get only published files.
How do i get all files for the logged in user with the permissions to view the file?

thanks for your answer

bye
Klaus