Change type of normalize.out parameter from String to File