@MTGap It will return null if $fileInfo['size'] is not set. Is it ok?