Changes to upload status in file tests