implemented basic of hash file (without hashing and not tested)
format