fixed ngenplus function to move file correctly