pull file into string