They both work here with the .txt extension because there is a program associated with the .txt extension, but there is no program associated with .hash.