Add two arguments to the function

Arguments are:
- output_file_name (default: "up.txt")
- details_in_file_name (default: TRUE)
Append additional details to the output file name
Replace static file name with 'output_file_name' object