Gigya interview question

How to work with files