dont parse the file twice