enable file using checkbox