remove unused file open logic
add integration test for okrun