Optimize core by moving recomputed stuff

- do not position pointer to parser in function called for each file,
rather do that in main at start
- since size is already kinda computed, pass it as argument to parser
(implies that _all_ parsers need to also accept size as an argument, thus
create a wrapper for strcasestr)