Probably should just store this file on disk somewhere to avoid this problem.