add a finalisation state when the file is fully uploaded