updated binary to allow file_name to be used