add optional filter for upload files in gui