fix empty files