check duplicate sin on open file