File modal and file safety