using file to parse http request