formated files, added shuffle algorithm