[#4657] refactor File.serve to a general helper method
2 files changed