Add FileInfoList type
Fix compiler warnings