Worked on layout, filechoosers appear on button click

Also added toFile method