changed widgets and added a file view