Add in counter and file type.