Fix regresion file open