Fixed unisgned integer issue in Files module