The httpget function gets an array with all the filepaths (As a [String]) and the contents (as a bytestring). The function preloads all the static files before it starts serving files.