update file opening test @fabiencastan.