Optimized for unix filesystem.