Adding general file upload constrains.

Cont. working on file upload middleware and file routes.