fixed swap file removal in open_all