set media on aws corrected file