fixed checkfiles output