[code] Implement logic for include a file in FileGenerator if this exists and is not already included

Clean the double check done in FileReflection and FileGenerator