Make FileInfo structure optional