Generic file list completion function