Well, you are right, it is better to try before to ask, but I thought maybe I did some principle mistake in data assignment to the hash structure that one can identify just by looking on it.
Concerning @files and $hash_key inititalization - it was a mistake. I should have check it before, sorry.
I'll try with the Data:Dumper.