See https://ionicframework.com/docs/native/file/. If you are deploying to iOS and android be aware that some directories are not available on all plattforms.
From your application you could scan this directory or even save the file metadata to a localStorage.