Make sure file is cleaned up after the Options Menu is dismissed in iOS.