How to access a file located outside the specific directory of the application?

That depends on whether

  1. it is a media or a non-media file
  2. this (non-media) file is in one of the Shared folders and
  3. this (non-media) file was created by the app itself.

See also here: