Fixed file dict problem