compare against the write directory path