Modified plotting file to take command line arguments instead of hardcoded filenames