Casts this Input as a File and retrieves its aws.sdk.kotlin.services.apptest.model.InputFile value. Throws an exception if the Input is not a File.