Validation and storing files used more memory than necessary by making needless copies of the entire file buffer.