GUI refactory for file view