Samefile bug fixed.