Empty file is deleted