lots of searching and reading has not provided the answer to this problem.
my activity does not extend ListActivity so this line throws an error.
setListAdapter(fileList);>
Obtain the reference of your ListView using findViewById(int). Then call the method ListView.setAdapter(ListAdapter) on that reference with your adapter as the parameter.