CME Group interview question

write a small framework for upload file as input (Selenium preferred with java).