Refactored the rediculously named medium to mediafile. Sidekiq is now working.