replace `files` function with `src`