solved problem with resultfiles, noticed some memoryleak..