Implementing file filter manually.
Implement file filter using fileUpload interceptor.