Fix if empty file