fixed empty sending empty file