Built the files into objects instead of strings for further optimization