addFile

suspend fun addFile(file: File): Boolean

Adds a file to the known list, triggering onResourcesListChanged() if the file wasn't in the list before.

Return

true if the file was added, false if it was already in the list.