File loader: Split envelope parsing from content parsing.