Fixes an empty file