add fileInfo length judgment