Turn the contents of files into Javascript strings