Deallocate after file read