Created custom access controller for File.