Doesn't work with open base dir.