finalize uploadnig of files: operationnal
minor fix for file upload