made empty file skip instead of error