app usage quantums collection and write to file