improve handling of files which do not contain any traces