Allow invoking file() with no callback.