split route use into modules, support head method for file service