file is now an argument to the script