Get filename as argument of the script and save outputs based on that