Replaced "NewFileName" function 

Replaced with "NewFile" function for improved efficiency. Function calls in code still have to be changed.