Various filtering should be done at user place as these will be different anyway for each purpose.
Attach a file by drag & drop or click to upload