added generic clock file support