use default backend if it equals nil
RAILS_ROOT -> Rails.root in file backend