Genpact interview question

File handling management in AA