FileIO and vector construction for payload