FileSelector:process_directory() does not make use of project_root argument. Remove it and adjust all callers.