IntermediateFile initial implementation and test