fixing empty files