prevent hashed files without hash