adds function for loading parameterized files

* may be used for loading parameterizable json-queries
(* this may fix a bug with % chars in queries)