removed check whether medium is writable or not