solved for 'read file error'