Plugins: File list: Some refactoring