Decode function work with the real filename