Added ability to enter custom file name