Method to finds the full real file path, checking possible overrides
Références $file, $files, $parts, $prefix, $r, $suffix, FOFPlatform\getInstance(), et null.