READY!!!! hibernate replaced by file streams