swapping from simple file works