Even if _isEmpty is true we still have to check if the file exists since we will need to overwrite it if it does.