BUG: fname is fixed
ENH: action argument was added