fix unix read file