got context for file IO working