adds file fetching util to files.js