Add debugging to file input action.