small fix. removed encoding from argument because we have general decoding for whole file