Added file counter