Attempt at hash failed, a bit modified output to ensure file extensions