passing report file as parameter