fix install empty file

test file before install