Fixing mixing file and array type parameters