Is it possible to use file in IOS

This information has proved helpful thank you.
Further to this, is it possible to use the ListDirectory block within the File Componant?
I have tried variations of scope and directoryName. All result in the following runtime error:
"undefined variable. Irritants: (yail/call-component-method-with-blocking-continuation)".
Any help or pointers would be appreciated.