prepare for file i/o operations