add 2 methods in FileService handle (T-6741)