Set file/add weight to 1.