problems in read and diff files when no mask