Fix Auto-Generator if model files are in root of the folder