This comment seems outdated... this function seems like it always just returns the entire file.