prep for file