Added multisample filename and input directory