Implemented filter for lazy theses data model.
Fixed file upload for add/edit thesis.