You're not actually checking if fileinfo is supported, so this variable is incorrectly named.