applying RAII to file persisted parsing table