The order should be in a way that `fileName` is the first parameter.