Maybe fix a file completion bug. We urgently need unit testing.