Added helper class to check for files and directories in internal
storage