added gcm support. nullpointer fix for injectextra. use of File.exists in AbstractFileHandler.