Create FileInput object and modify the view accordingly