added CHARTEVENT constants and removed lowercase snippets in Constants and File functions