Remove file from session after we retrieve it
Use a more modern api: session_data_manager instead of request.SESSION