Put the file enumeration on the background thread.