Update File.php

All files in the configuration are arrays, or not a valid configuration item.