format whole file if nothing selected