Fixes #280 filter file upload