Corrected out file name problem