first iteration to read files dynamically from ace