check file open