fix opening file with a worker that broke for some reason