changed param names in file handlers