add some functions to FileUtils.h: fileExists and getFileExtension