added timefile generation