fix the bluej problem

the problem was cause by fileoutstream not creating a file in objectdatabase