Checked if file/volume and dir exist.