title: Check if file is still opened in Android
body: <p>I use a 3rd party library which manipulates with some file (it gets this file as path string). Then I tell this library to release all resources, delete created file and overwrite it. The problem is that I see the old data which has been deleted and ovewritten! The restart of application resolves this issue.</p>
  
  <p>It looks like the resources has not released properly and this library still keep this file. I'd like to somehow (maybe in debug) get the list of files which my app has currently opened and see if this file still opened but I don't know how to do it. Or maybe there is a way to tell Android OS to force close the file. Any ideas?</p>
  
  <p>Thanks in advance!</p>