second implementation of parsing SNG-files to hash. added functon of parsing all files from dir.