Updated uploaded file to inject its stream from factory