Added the handler for the files route